package com.example.untils;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY="login:code:";
    public static final Long LOGIN_CODE_TTL=2L;  //key持续2分钟时间
    public static final String LOGIN_USER_KEY="login:user";
    public static final Long LOGIN_USER_TTL=24L; //key持续一天时间

    public static final String SELECTID_BOOK_KEY="selectId:book:";
    public static final Long SELECTID_BOOK_TTL=30L;  //key持续30分钟时间
    public static final Long SELECTID_NULL_TTL=2L;  //空key持续2分钟时间
}
